package com.maistars.spider.service.store;

/**
 * @author dhr
 * @date 2021/9/11 上午11:03
 */
public class FileStoreFormat {

    /**
     * 获取捕捉页面的文件名
     * @param taskId
     * @param taskInstId
     * @param level
     * @return
     */
    public String getCapturedPageStoreFileName(int taskId,int taskInstId,int level){
        return taskId+"_"+taskInstId+"_"+level+".txt";
    }

    /**
     * 获取抽取字段详情的文件名
     * @param taskId
     * @param taskInstId
     * @param level
     * @return
     */
    public String getExtractedFieldStoreFileName(int taskId,int taskInstId,int level){
        return taskId+"_"+taskInstId+"_"+level+".txt";
    }

}
